package com.whl.user.mapper;

import com.whl.user.domain.User;
import com.whl.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whl
 * @since 2022-06-03
 */
public interface UserMapper extends BaseMapper<User> {
    // 查询注册电话是的验证码
    User findByPhone(String phone);

    // 根据LogininfoId查询用户
    User findByLogininfoId(Long id);
}
